CRPEJob::GetParameterValueInfo

Use CRPEJob::GetParameterValueInfo to retrieve the CRPEParameterValueInfo structure associated with the specified parameter field in a report. This structure contains information about the values (editable, nullable field, multiple values, etc.) that can be stored in the specified field.

Syntax
BOOL GetParameterValueInfo (
        const _TCHAR *parameterFieldName,
        const _TCHAR *reportName,
        CRPEParamelterValueInfo *valueInfo );
Parameters

parameterFieldName

Specifies a pointer to the parameter field name.

reportName

Specifies a pointer to the report name.

valueInfo

Specifies a pointer to CRPEParameterValueInfo, which contains the retrieved value information.

Returns
Remarks

To determine whether a parameter field is a stored procedure, use CRPEJob::GetNthParameterField.

CRPEJob::GetPrintDate

Use CRPEJob::GetPrintDate to determine the print date (if any) that was specified with the report. Use this method to retrieve the print date and use CRPEJob::SetPrintDate, to pass a new print date.

Syntax
BOOL GetPrintDate (
        short *year,
        short *month,
        short *day );
Parameters

year

Specifies a pointer to the year for the current print date.

month

Specifies a pointer to the month for the current print date.

day

Specifies a pointer to the day for the current print date.

Returns


Seagate Software IMG Holdings, Inc.
http://www.seagatesoftware.com
Support services:
http://support.seagatesoftware.com